<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group">	
								<label class="col-sm-3 control-label">单据编号：</label>
								<div class="col-sm-8">
									<input id="number" name="number" class="form-control" type="text" readonly>
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">供应商（关联供应商表）：</label>
								<div class="col-sm-8">
									<!--<input id="clientid" name="clientid" class="form-control" type="text">-->
									<input type="hidden" name="clientid" id="clientid">
									<input id="" name="clientid" class="form-control" type="text" readonly
										   onclick="useys()" >
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">经手人（关联经手人表）：</label>
								<div class="col-sm-8">
									<!--<input id="eperson" name="eperson" class="form-control" type="text">-->
									<select id="eperson" name="eperson" class="form-control"></select>
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">结算账户 （关联账户表）：</label>
								<div class="col-sm-8">
									<!--<input id="account" name="account" class="form-control" type="text">-->
									<select id="account" name="account" class="form-control"></select>
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">应付欠款(元)：</label>
								<div class="col-sm-8">
									<input type="hidden" name="debt" id="debt">
									<input id="qb" name="qb" class="form-control" type="text" readonly="readonly">

								</div>
							</div>

														<div class="form-group">	
								<label class="col-sm-3 control-label">本次付款(元)：</label>
								<div class="col-sm-8">
									<input id="payment" name="payment" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">优惠金额(元)：</label>
								<div class="col-sm-8">
									<input id="coupon" name="coupon" class="form-control" type="text" value="0">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<input id="remark" name="remark" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">付款日期：</label>
								<div class="col-sm-8">
									<!--<input id="paymentdate" name="paymentdate" class="form-control" type="text">-->
									<input type="text" class="laydate-icon layer-date form-control" id="paymentdate" name="paymentdate"   placeholder="请选择时间"/>
								</div>
							</div>
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/finance/paymentform/add.js">
	</script>
</body>
</html>
